#ifndef _MENU_H
#define _MENU_H

typedef int (*CommandFun)(int argc, char *argv[]);

typedef struct {
    char *Cmd;
    char *description;
    char *help;
    CommandFun Function;
}COMMAND_TABLE;

int is_exit_cmd(const char *cmd);
int ExcuteCommand(const char *cmdStr);
void TurnToupper(char * str);

#endif  // #ifndef _MENU_H

